package com.example.entity;

import java.time.LocalDateTime;
import java.util.List;

public class Collect {
    private Integer id;
    private Integer buyerId;
    private Integer productId;
    private LocalDateTime createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Collect() {
    }

    public Collect(Integer id, Integer buyerId, Integer productId, LocalDateTime createTime) {
        this.id = id;
        this.buyerId = buyerId;
        this.productId = productId;
        this.createTime = createTime;
    }
}
